package User;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * User: 花海
 * Date: 2022-08-12
 * Time: 22:36
 */
public class admin extends User{

    public admin(String name) {
        super(name);
    }
    public int menu() {
        System.out.println("欢迎使用管理者系统");
        System.out.println("请选择功能");
        System.out.println("1.查找图书");
        System.out.println("2.删除图书");
        System.out.println("3.新增图书");
        System.out.println("4.显示图书");
        System.out.println("5.退出系统");
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入你的选择");
        int choice=sc.nextInt();
        return choice;
    }

}
